package com.zmzncs.lmtc.module.customer.pojo.card;

import io.swagger.annotations.ApiModelProperty;
import lombok.Data;

import javax.validation.constraints.NotBlank;
import javax.validation.constraints.NotNull;
import java.io.Serializable;
import java.util.Date;
import java.util.List;

/**
 * <p>
 * 客户-会员卡
 * </p>
 *
 * @author 任建波
 * @since 2020-08-26
 */
@Data
public class CardHasForm implements Serializable {

    private static final long serialVersionUID=1L;

    @ApiModelProperty(value = "客户id", required = true)
    @NotNull
    Long customerId;

    @ApiModelProperty(value = "车牌", required = true)
    @NotBlank
    String carNumber;

    @ApiModelProperty(value = "停车场id", required = true)
    @NotBlank
    String parkId;

    @ApiModelProperty(value = "开始时间", required = true)
    @NotNull
    Date beginTime;

    @ApiModelProperty(value = "结束时间", required = true)
    @NotNull
    Date endTime;

}
